﻿@model PagedCollection<Content>
@{
    var notAnswerList = ViewData["NotAnswerList"] as IEnumerable<Content>;//未解决问题列表
    var notAnswerHighCost = ViewData["NotAnswerHighCost"] as IEnumerable<Content>;//当前分类解决高分值
}

<div class="row">
        <div class="col-8">
            <h2>@ViewBag.Title</h2>

            @Html.Partial("_ListGroup", Model.Items)
            <div class="mt-3">
                @Html.Pagination(Model)
            </div>
        </div>
        <div class="col-4">
            <div class="mt-3 mb-3 border bg-light">
                <div class="border-bottom m-3"><b>最近提问</b></div>
                <div class="col">
                    @Html.Partial("_ListUnstyledAsk", notAnswerList)
                </div>
            </div>
            <div class="mt-3 mb-3 border bg-light">
                <div class="border-bottom m-3"><b>高悬赏问题</b></div>
                <div class="col">
                    @Html.Partial("_ListUnstyledAsk", notAnswerHighCost)
                </div>
            </div>
        </div>
    </div>